﻿@using BlueLotus7.Eden.Management.DomainScope.Models;
@using BlueLotus7.Eden.KB.Models;
@model DomainScopeUsersPageModel
@{
    ViewBag.Title = "Users";
    Layout = "~/Views/Shared/Castle.cshtml";
}
@{
    ViewBag.Title = "Index";
    Layout = BlueLotus7.Eden.Web.Helper.MasterPageUrl;
    string domainScopeName = (Model != null && string.IsNullOrWhiteSpace(Model.DomainScopeName)) ? "[" + @Model.DomainScopeName + "]" : string.Empty;
}
@section TitleContent{
    Domain Scope Users @( string.IsNullOrWhiteSpace(domainScopeName) ? string.Empty : "for " + domainScopeName)
}
@section MainContent{
    <div>
        <h2>
            Domain Scope Users @( string.IsNullOrWhiteSpace(domainScopeName) ? string.Empty : "for " + domainScopeName)</h2>
        @if (Model != null)
        {
            <text>
            @Html.Partial("ControlView/DomainScopeUserGridControlView", Model as DomainScopeUserGridControlModel)
            </text>
        }
    </div>
}
